<template>
	  <div class="console">
	<div style="float: right;">
	 <el-button type="danger" size="large">去新增</el-button>
	 </div>
	 <div style="margin-top: 3rem;">
  <el-table :data="tableData" style="width: 100%">
    <el-table-column prop="date" label="Date" width="180" />
    <el-table-column prop="center" label="创建时间" width="180" />
    <el-table-column prop="time" label="更新时间" width="180"/>
	 <el-table-column prop="name" label="地点名称"width="180" />
	  <el-table-column prop="id" label="地点坐标" width="180"/>
	<el-table-column fixed="right" label="操作" min-width="120">
	  <template #default>
	    <el-button link type="primary" size="small">删除</el-button>
	  </template>
	</el-table-column>
  </el-table>
   </div>
   </div>
</template>

<script lang="ts" setup>
const tableData = [
  {
    date: '2016-05-03',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-02',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-04',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
  {
    date: '2016-05-01',
    name: 'Tom',
    address: 'No. 189, Grove St, Los Angeles',
  },
]
</script>